package com.agrimall.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户实体类
 */
@Data
public class User {
    private Long userId;
    private String username;
    private String password;
    private String realName;
    private String phone;
    private String email;
    private String address;
    private Integer userType; // 0-普通用户，1-商户，2-管理员
    private Integer status; // 0-禁用，1-启用
    private BigDecimal balance; // 用户余额
    private Date createTime;
    private Date updateTime;
}



